package com.ruoyi.equip.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.swing.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2024-05-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("thing_model")
@ApiModel(value="ThingModel对象", description="")
@NoArgsConstructor
@AllArgsConstructor
public class ThingModel extends Model<ThingModel> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id")
    private Long id;

    @ApiModelProperty(value = "产品key")
    @TableField("product_key")
    private String productKey;
    @ApiModelProperty(value = "模型内容")
    @TableField("model")
    private String model;



    public ThingModel( String productKey,String model) {
        this.model = model;
        this.productKey = productKey;
    }
}
